package com.lukk.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.lukk.pojo.PotentialWorker;

/**
 * 
 * PotentialWorker 上午11:45:28 Copyright zhaocj Inc. All Rights reserved.
 * alldios@outlook.com
 *
 */
@Repository
public interface PotentialWorkerDAO {
	public Integer insertPotentialWorker(PotentialWorker potentialWorker);

	public List<PotentialWorker> selectByBean(PotentialWorker potentialWorker);

	public void modifyByBean(PotentialWorker potentialWorker);

	public void deleteByPrimaryKey(@Param("ints") Integer[] dropsArry);

	public void deleteByPhone(String phone);

	public Integer selectIntenalWorkerIDByPhone(@Param("phone") String phone);

	public PotentialWorker selectByPrimaryKey(PotentialWorker potentialWorker);

	public List<String> isCodePhoneAlreadyUsed(PotentialWorker potentialWorker);

}
